#include "builder.h"
#include "director.h"
#include <iostream>
 
using namespace std;
 
int main()
{
	Builder* pBuilder1 =  new ConcreteBuilder1();
    Director* pDirector = new Director(pBuilder1);
    pDirector->Construct();
 
    Builder* pBuilder2 = new ConcreteBuilder2();
    Director* pDirector1 = new Director(pBuilder2);
    pDirector1->Construct();
 
    return 0;
}